<template functional>
  <div>
    <h1>函数式组件{{num}}</h1>
    <h2>我接受的props是{{props.count}}</h2>
  </div>
</template>

<script>
export default {
  name:"One",
  props:["count"],
  data(){
    return{
      num:1
    }
  },
  mounted(){
    console.log(1);
  }
}
</script>

<style>

</style>